org.eclipse.vtp.framework.interactions.core.services
Class FormatterRegistry

java.lang.Object
  extended by org.eclipse.vtp.framework.interactions.core.services.FormatterRegistry
All Implemented Interfaces:
IFormatterRegistry

public class FormatterRegistry
extends java.lang.Object
implements IFormatterRegistry

Implementation of IFormatterRegistry.

Author:
Lonnie Pryor

Constructor Summary
FormatterRegistry(org.eclipse.core.runtime.IExtensionRegistry registry)
          Creates a new FormatterRegistry.
 
Method Summary
 IFormatter getFormatter(java.lang.String formatterID)
           
 java.lang.String[] getFormatterIDs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatterRegistry

public FormatterRegistry(org.eclipse.core.runtime.IExtensionRegistry registry)
Creates a new FormatterRegistry.

Parameters:
registry - The extension registry to load from.
Method Detail

getFormatterIDs

public java.lang.String[] getFormatterIDs()
Specified by:
getFormatterIDs in interface IFormatterRegistry

getFormatter

public IFormatter getFormatter(java.lang.String formatterID)
Specified by:
getFormatter in interface IFormatterRegistry